package mycrmprkaushik;


import java.util.Date;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.users.User;


@PersistenceCapable
public class Customer {
	    @PrimaryKey
	    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	    private Long id;
	 
	  	@Persistent
	    private String name;
	    
	    @Persistent
	    private String company;
	    
	    @Persistent
	    private String address;
	    
	    @Persistent
	    private String phone;    	
	    
	    public Customer( String name, String company, String address, String phone) {
	   
	        this.name = name;
	        this.company = company;
	        this.address = address;
	        this.phone = phone;

	    }
	    
	    public Long getKey() {
	        return id;
	    }


	    public String getName() {
	        return name;
	    }

	    public String getCompany() {
	        return company;
	    }
	    
	    public String getAddress() {
	        return address;
	    }
	    
	    public String getPhone() {
	        return phone;
	    }
	    


	    

	    public void setName(String name) {
	        this.name = name;
	    }

	    public void setCompany(String company) {
	        this.company = company;
	    }
	    
	    public void setAddress(String address) {
	        this.address = address;
	    }
	    
	    public void setPhone(String phone) {
	        this.phone = phone;
	    }
	    
	
}
